package lxh.grails.basic;


class A 
{
	def name = "lxh"
	static void main(args) 
	{
		def a = new A();
	    a.show();  
	    def list = [];
	    list << "aaa"
	    list << "bbb"
	    list.each(){
	    	print it
	    }
	}
	
	def show()
	{
		println name;
		byte[] bs = "aaaaa".getBytes();
		def ss = bs.encodeBase64();
		println ss;
	}

}